

<template>
  <div>
    <h1>
      这是父页面
    </h1>
  </div>
  <div>
    <tiny-button @click="router.push('login')">点击跳转login</tiny-button>
    <tiny-button @click="router.push('home')">点击跳转home</tiny-button>
  </div>
  <RouterView/>
</template>
<script setup>
import {TinyButton} from "@opentiny/vue";
import router from "@/router/index.js";


</script>
<style scoped>

</style>